package com.dinglian.ots.vo.address;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author wangbo
 */
@Data
public class AddAddressVo {

    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    @NotBlank(message = "收件人不能为空")
    private String name;

    @NotBlank(message = "手机号不能为空")
    private String mobile;

    @NotBlank(message = "地址不能为空")
    private String address;

    private Integer prime = 0;
}
